import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
//注入路由
import router from './router/index.js'

const app = createApp(App)

import * as echarts from 'echarts'

//导入Axios库
import axios from 'axios'
import VueAxios from 'vue-axios'

app.use(router)

app.config.globalProperties.$echarts = echarts

app.use(ElementPlus)
app.use(VueAxios,axios)

app.mount('#app')


